package com.briup.app02.service;

import java.util.List;

import com.briup.app02.bean.Address;
import com.briup.app02.utils.CustomerException;

public interface IAddressService {
	
	void saveOrUpdate(Address address)throws CustomerException;
	
	List<Address>query(String name);
	
	void deleteById(long id)throws CustomerException;
	
	List<Address>pageQuery(int page, int pageSize, Long userId);
}
